/***************************************************************************
 *   Copyright (C) 2007 by saa   *
 *   root@saa   *
 ***************************************************************************/

#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QObject>


class QMenu;
class QSignalMapper;

class MainWindow : public QMainWindow
{
    Q_OBJECT
    public:
        MainWindow();
        
    protected:
        void closeEvent(QCloseEvent *event);
        
    private slots:
        void startNewSession();
        void openRouteServerFile();
        void openLinkListFile();
        void about();

    private:
        void createActions();
        void createMenus();

        QMenu *fileMenu;
        QMenu *helpMenu;
        
        QAction * startNewSessionAct;
        QAction * openRouteServerFileAct;
        QAction * openLinkListFileAct;
        QAction * aboutAct;
        QAction * exitAct;
};

#endif
